package com.esun.dao.eo;

import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 操作日志
 *
 * @author zzg
 * @since 2021/6/30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Builder
@AllArgsConstructor
public class OperateLogEo extends BaseEo implements Serializable {
    /**
     * 主键
     */
    private Long id;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 用户名称
     */
    private String userName;
    /**
     * ip
     */
    private String ip;
    /**
     * 方法名
     */
    private String method;
    /**
     * 请求url
     */
    private String requestUrl;
    /**
     * 请求参数
     */
    private String requestParam;
    /**
     * 请求类型
     */
    private String requestType;
    /**
     * 模块
     */
    private String module;

    private String description;

    private String exception;

    private Long costTime;

    private String importData;

    private String responseData;

    private LocalDateTime createDate = LocalDateTime.now();


}
